<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<!--[if IE 9 ]><html class="ie9"><![endif]-->
    <head>
        <title>yuejian - 14</title>
        <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<script>
       //  function check(){
       //      var password = document.getElementById("password").value;
       //      var repsword = document.getElementById("newpassword").value;
       //  if(password == ''||repsword==''){
       //  alert('密码不能为空');
       //      return false;
       //  }
       //  if(password != repsword) {
       //  alert("两次密码不同，请重新输入");
       //      return false;
       //  }
       // return true;
       //  }




       function checkTele(){
          //创建XHR对象
var xmlHttp;
try{    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();    
   }
catch(e){   // Internet Explorer
   try{
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }catch (e){
    try{
         xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
         }
      catch (e){
         alert("您的浏览器不支持AJAX！");
         return false;
         }      }    } 
//第二部
         xmlHttp.onreadystatechange=function() {
          if(xmlHttp.readyState==4 && xmlHttp.status==200){
            document .getElementById("tip").innerHTML=xmlHttp.responseText;
          }
          }
         //获取电话号码
         var t=document.getElementById("ca_phone").value; 
         //第三步
         xmlHttp.open("get","checkTele?tt="+t);
         //发送请求
         xmlHttp.send();
}



// function checkAlias(){
// document.getElementById("tip2").innerHTML="";//将以前的字符串清除



//            var xmlHttp;
// try{    // Firefox, Opera 8.0+, Safari
//     xmlHttp=new XMLHttpRequest();    
//    }
// catch(e){   // Internet Explorer
//    try{
//       xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
//       }catch (e){
//     try{
//          xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
//          }
//       catch (e){
//          alert("您的浏览器不支持AJAX！");
//          return false;
//          }      }    } 


//            xmlHttp.onreadystatechange=function() {
//           if(xmlHttp.readyState==4 && xmlHttp.status==200){
//             var info=eval(xmlHttp.responseText);
//             for(i=0;i<info.length;i++){
//               document.getElementById("tip2").innerHTML+=info[i].ca_name+"&nbsp;&nbsp";
//             }
            
//           }
//           }

//           var alias=document.getElementById("ca_name").value; 
//          //第三步
//          xmlHttp.open("get","checkAlias?as="+alias);
//          //发送请求
//          xmlHttp.send();
//         }
// function checkAlias2(){
//   var alias=document.getElementById("ca_name").value;
//   $.getJSON("checkAlias",{as:alias},function(info){
//   for(i=0;i<info.length;i++){
//               document.getElementById("tip2").innerHTML+=info[i].ca_name+"&nbsp;&nbsp";
//             }
//           });

 

// }
</script>

     <head><meta charset="utf-8">
    
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
        <meta name="format-detection" content="telephone=no">
        <meta charset="UTF-8">

        <meta name="description" content="Violate Responsive Admin Template">
        <meta name="keywords" content="Super Admin, Admin, Template, Bootstrap">
<!-- CSS -->
        <link href="/yuejian14/Public/Admin/css/bootstrap.min.css" rel="stylesheet">
        <link href="/yuejian14/Public/Admin/css/animate.min.css" rel="stylesheet">
        <link href="/yuejian14/Public/Admin/css/font-awesome.min.css" rel="stylesheet">
        <link href="/yuejian14/Public/Admin/css/form.css" rel="stylesheet">
        <link href="/yuejian14/Public/Admin/css/calendar.css" rel="stylesheet">
        <link href="/yuejian14/Public/Admin/css/media-player.css" rel="stylesheet">
        <link href="/yuejian14/Public/Admin/css/style.css" rel="stylesheet">
        <link href="/yuejian14/Public/Admin/css/icons.css" rel="stylesheet">
        <link href="/yuejian14/Public/Admin/css/generics.css" rel="stylesheet"> 
    </head>

    </head>
    <body id="skin-blur-violate">
        <section id="login">
            <header>
                <h1>CLUB ADMIN</h1>
                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla eu risus. Curabitur commodo lorem fringilla enim feugiat commodo sed ac lacus.</p>
            </header>
        
            <div class="clearfix"></div>
            
            <!-- Login -->
             <form class="box tile animated active" method="post" enctype="multipart/form-data" action="/yuejian14/Admin/CIndex/register" id="box-login">

                <h2 class="m-t-0 m-b-15">Register</h2>
                 <input class="form-control" placeholder="用户名(必填)" type="text" id="aliasname" name="ca_name" required pattern="[0-9a-zA-Z_]{6,12}"
                      onblur="checkAlias()">
                      <span id="tip2"></span>
                      <br>



               <input class="form-control" placeholder="密码(必填)" type="password" id="password" name="ca_pass" required>

 <br>
             
  <input class="form-control" placeholder="手机号(必填)" type="text" id="ca_phone" name="ca_phone" required pattern="[0-9]{11}" title="请填写正确的手机号"onblur="checkTele()">
                    <span id="tip"></span>
 <br>


<input class="form-control" placeholder="邮箱(必填)" type="text" id="email" name="ca_email" title="请填写正确的邮箱">
<br>


<input class="form-control" placeholder="地址(必填)" type="text" id="address" name="ca_address" required>
<br>
<input type="hidden" name="max_file_size " /> 
<input type="file" name="file" /> 
<br>


 <input type="date" class="form-control" id="inputDate3" placeholder="生日" name="ca_age">

    <br>
 <div class="form-group">
   <!--  <label for="inputGender3" class="col-md-3 control-label">性别</label> -->
    <div class="col-md-6">
      <label class="radio-inline">
  <input type="radio" name="ca_sex" id="inlineRadio1" value="0"> 男
</label>
<label class="radio-inline">
  <input type="radio" name="ca_sex" id="inlineRadio2" value="1"> 女
</label>
    </div>
  </div>
   


                <button class="btn btn-sm m-r-5">Register</button>

                <small><a class="box-switcher" data-switch="box-login" href="">Already have an Account?</a></small>
            </form>
            
            <!-- Register -->
            
        </section>                      
        
        <!-- Javascript Libraries -->
        <!-- jQuery -->
        <script src="/yuejian14/Public/Admin/js/jquery.min.js"></script> <!-- jQuery Library -->
        
        <!-- Bootstrap -->
        <script src="/yuejian14/Public/Admin/js/bootstrap.min.js"></script>
        
        <!--  Form Related -->
        <script src="/yuejian14/Public/Admin/js/icheck.js"></script> <!-- Custom Checkbox + Radio -->
        
        <!-- All JS functions -->
        <script src="/yuejian14/Public/Admin/js/functions.js"></script>
    </body>
</html>